import request from '@/utils/request'

//新增荣誉证书
export function save(data) {
  return request({
    url: '/rms/rmsCertificate/save',
    method: 'post',
    data:data
  })
}
//删除荣誉证书
export function deleteCertificate(id) {
  return request({
    url: '/rms/rmsCertificate/'+id,
    method: 'get',
  })
}
//查询荣誉证书
export function findById(id) {
  return request({
    url: '/rms/rmsCertificate/findById/'+id,
    method: 'get',
  })
}
//修改荣誉证书
export function update(data) {
  return request({
    url: '/rms/rmsCertificate/update',
    method: 'post',
    data:data
  })
}
//查询全部荣誉证书
export function findAllCertificate() {
  return request({
    url: '/rms/rmsCertificate/findAll',
    method: 'get',
  })
}

